<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- include "header" -->
</head>
<body id='main-site-body'>
<!-- include "menu" -->
<div id='main-site-globalbo'>
	<a title="logo" href="{{baseurl}}admin"><img id="logo" alt="logo" src="{{baseurl}}global/img/globalbo/logo.png"></a>
	<h1>Gestion des utilisateurs</h1>
	<div id="main-site-globalbo-submenu">
		<a href="{{baseurl}}admin/options">Privilèges</a>
		<a href="{{baseurl}}admin/options/modules">Modules</a>		
	</div>

	<div id="main-site-globalbo-options">
	<!-- if !empty({{users}}) -->
		<p>Ajouter utilisateurs</p>
			<table border="1" style='border-collapse: collapse;'>
			<tr>
				<th>	Login	</th> 
				<th>	Nom		</th>
				<th>	Mail	</th>
				<th>	Groupe	</th>
				<th>	Actions	</th>
			</tr>
				<!-- loop users -->
					<tr>
						<td>{{user' value.@usr_login}}	</td>
						<td>{{user' value.@usr_name}}	</td>
						<td>{{user' value.@usr_mail}}	</td>
						<td></td>
						<td id="user_{{user' value.@usr_id}}"><span class="edit action">Edit</span> <span class="suppr action">Suppr</span>	</td>
					</tr>
				<!-- endloop -->
			</table>
		<!-- endif -->
		
		<!-- if !empty({{modules}}) -->
			<p>Modules </p>
			<table border="1" style='border-collapse: collapse;'>
			<tr>
				<th>	Module	</th> 
				<th colspan="{{maxRow}}">	fonction</th>
			</tr>
			<!-- loop modules -->
				<tr>{{module' value}}</tr>
			<!-- endloop -->
			</table>
		<!-- endif -->
	</div>
</div>
</body>
</html>